<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@include file="/include/common/formbackhead.jsp"%>
<%!
private class PageAction extends BaseAction{
	private String param1 = "";
	private String param2 = "";
	
	//准备action的环境变量 每次请次都会执行此方法 可在此方法中初如化一些变量
	protected void prepareActionEnv() throws Exception{
		param1 = utils.getHrNum();
		param2 = utils.getChName();
	}
	
	//加載頁面默認數據
	protected boolean onLoadDefault() throws Exception{
		form.spsv("test", "1");
		return true ;
	}
	
	//处理储存驗證
	protected void onSaveValidate() throws Exception{
		
	}
	
	//執行儲存
	protected void doSave() throws Exception{
		
	}
	
	//处理刪除驗證
	protected void onDeleteValidate() throws Exception{
		
	}
	
	//執行刪除
	protected void doDelete() throws Exception{
		
	}
	
	//处理自定義操作
	protected boolean onCustomAction(String action) throws Exception{
		return super.onCustomAction(action);
	}
}
%>
<%@include file="/include/common/formbackend.jsp"%>